package com.ruge.user.service;

import com.ruge.core.response.Response;
import com.ruge.user.domain.request.BlobOperaRequest;

/**
 * @author ruge.wu
 * @since 2021/12/27 15:57
 */
public interface BlobOperaService {

    /**
     * 点赞
     *
     * @param request {@link BlobOperaRequest}
     * @return {@link Response}
     */
    Response like(BlobOperaRequest request);

    /**
     * 取消点赞
     *
     * @param request {@link BlobOperaRequest}
     * @return {@link Response}
     */
    Response unLike(BlobOperaRequest request);

    /**
     * 校验用户是否已点赞
     *
     * @param request {@link BlobOperaRequest}
     * @return {@link Response}
     */
    Response checkLike(BlobOperaRequest request);

    /**
     * 返回点赞的用户列表，用户数量
     *
     * @param request {@link BlobOperaRequest}
     * @return {@link Response}
     */
    Response getLikeInfo(BlobOperaRequest request);
}
